home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Games / MAME / src / vidhrdw / avgdvg.h < prev    next >
C/C++ Source or Header  |  2000-05-13  |  2KB  |  56 lines

  1. #ifndef __AVGDVG__
  2. #define __AVGDVG__
  3.  
  4. /* vector engine types, passed to vg_init */
  5.  
  6. #define AVGDVG_MIN          1
  7. #define USE_DVG             1
  8. #define USE_AVG_RBARON      2
  9. #define USE_AVG_BZONE       3
  10. #define USE_AVG             4
  11. #define USE_AVG_TEMPEST     5
  12. #define USE_AVG_MHAVOC      6
  13. #define USE_AVG_SWARS       7
  14. #define USE_AVG_QUANTUM     8
  15. #define AVGDVG_MAX          8
  16.  
  17. int avgdvg_done (void);
  18. WRITE_HANDLER( avgdvg_go_w );
  19. WRITE_HANDLER( avgdvg_reset_w );
  20. int avgdvg_init(int vgType);
  21.  
  22. /* Apart from the color mentioned below, the vector games will make additional
  23.  * entries for translucency/antialiasing and for backdrop/overlay artwork */
  24.  
  25. /* Black and White vector colors for Asteroids, Lunar Lander, Omega Race */
  26. void avg_init_palette_white (unsigned char *palette, unsigned short *colortable,const unsigned char *color_prom);
  27. /* Monochrome Aqua vector colors for Red Baron */
  28. void avg_init_palette_aqua  (unsigned char *palette, unsigned short *colortable,const unsigned char *color_prom);
  29. /* Red and Green vector colors for Battlezone */
  30. void avg_init_palette_bzone (unsigned char *palette, unsigned short *colortable,const unsigned char *color_prom);
  31. /* Basic 8 rgb vector colors for Tempest, Gravitar, Major Havoc etc. */
  32. void avg_init_palette_multi (unsigned char *palette, unsigned short *colortable,const unsigned char *color_prom);
  33. /* Special case for Star Wars and Empire strikes back */
  34. void avg_init_palette_swars (unsigned char *palette, unsigned short *colortable,const unsigned char *color_prom);
  35. /* Monochrome Aqua vector colors for Asteroids Deluxe */
  36. void avg_init_palette_astdelux  (unsigned char *palette, unsigned short *colortable,const unsigned char *color_prom);
  37.  
  38. /* Some games use a colorram. This is not handled via the Mame core functions
  39.  * right now, but in src/vidhrdw/avgdvg.c itself. */
  40. WRITE_HANDLER( tempest_colorram_w );
  41. WRITE_HANDLER( mhavoc_colorram_w );
  42. WRITE_HANDLER( quantum_colorram_w );
  43.  
  44. int dvg_start(void);
  45. int avg_start(void);
  46. int avg_start_tempest(void);
  47. int avg_start_mhavoc(void);
  48. int avg_start_starwars(void);
  49. int avg_start_quantum(void);
  50. int avg_start_bzone(void);
  51. int avg_start_redbaron(void);
  52. void dvg_stop(void);
  53. void avg_stop(void);
  54.  
  55. #endif
  56.